package com.example.good.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.good.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserMapper extends BaseMapper<User> {
    
    @Select("select * from users where name = #{name}")
    User getOneByName(String name);
    
}
